package ru.compft.web;

/**
 * User: VVasiliev
 * Date: 14.06.12
 * Time: 13:53
 * Константы web уровня.
 */
public interface WebConst {
    //    Имена бинов/сервисов из Spring/Faces контекста
    String BREAD_CRUMBS = "breadCrumbs";
    String LOCALE_BEAN = "localeBean";
    String ROLE_BEAN = "roleBean";
    String TERM_BEAN = "termBean";
    String MODULE_BEAN = "moduleBean";
    String LOGIN_FORM_BEAN = "loginFormBean";
    String SYSTEM_PROP_BEAN = "systemPropBean";

    String LOGIN_CONTROLLER = "loginController";
    String MODULES_CONTROLLER = "modulesController";
    String CACHE_CONTROLLER = "cacheController";
    String SYSTEM_PROPS_CONTROLLER = "systemPropsController";
    String NAVIGATION_CONTROLLER = "navigationController";

    String MODULES_TABLE = "modulesTable";
    String USERS_TABLE = "usersTable";
    String SYSTEM_PROPS_TABLE = "systemPropsTable";
    String CACHES_TABLE = "cachesTable";

    String MODULE_VIEW = "moduleView";
    String CURRENT_VIEW = "currentView";
    String TABLE_VIEW = "tableView";

    String ROLE_SERVICE = "roleService";
    String USER_SERVICE = "userService";
    String DICTIONARY_SERVICE = "dictionaryService";
    String CACHE_SERVICE = "cacheService";
    String MODULE_SERVICE = "moduleService";
    String SYSTEM_SERVICE = "systemService";

    //    Стандартные названия бинов в Spring
    String AUTHENTICATION_MANAGER = "authenticationManager";

}
